package com.itheima.service;

import cn.hutool.json.JSONArray;
import cn.hutool.json.JSONObject;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

public interface SetmealService {
    void add(Setmeal setmeal);

    PageResult findPage(QueryPageBean queryPageBean);

    JSONArray getSetmeal() throws Exception;

    Setmeal findById(Integer id);

    JSONObject findByIdBatch(Integer id) throws Exception;

    Setmeal findDetailById(Integer id);
}
